<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>Yiran学习天地--未来可期大学成绩远程查询系统</title>
    <script>
        function getNowDateTime() {
            var nowDateTime = new Date();
            var nowDate = nowDateTime.toLocaleDateString();
            var nowTime = nowDateTime.toLocaleTimeString();
            document.getElementById("date").textContent = nowDate;
            document.getElementById("time").textContent = nowTime;
        }
        setInterval(getNowDateTime, 1000);
    </script>
    <style>
        body {
            background-color: aquamarine;
        }
    </style>
</head>

<body>
    <h1>Yiran学习天地--未来可期大学成绩远程查询系统</h1>
    <p>当前时间：<span id="date"></span><span id="time"></span></p>
</body>

</html>